if __name__ == '__main__':
    my_list = [1, 2, 3, 4, 5, 6]
    my_tuple = (1, 2, 3, 4, 5, 6)
    my_set = {1, 2, 3, 4, 5, 6}

    # 计算序列元素的个数
    print(len(my_list))
    print(len(my_tuple))
    print(len(my_set))

    # 判断是否指定元素在序列中
    print(3 in my_list)
    print(3 in my_tuple)
    print(3 in my_set)

    # 判断是否指定元素不在序列中
    print(3 not in my_list)
    print(3 not in my_tuple)
    print(3 not in my_set)
